package cn.sunxyz.behavior.visitor;

/**
 * Created by yangrd on 2017/5/15.
 */
public class Client {
    public static void main(String[] args) {
        Subject subject = new MySubject();
        Visitor visitor = new MyVisitor();
        subject.accept(visitor);
    }
}
